﻿using System;
using Shop.Entity;
using SqlSugar;

namespace Shop.Base.Entity
{
    [SugarTable("SystemLog")]
    public class SystemLogPo
    {
        /// <summary>
        /// 内置Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string Types { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Titles { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Contents { get; set; }
        /// <summary>
        /// 旧数据
        /// </summary>
        public string OldData { get; set; }
        /// <summary>
        /// 新数据
        /// </summary>
        public string NewData { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateAt { get; set; }=DateTime.Now;
        /// <summary>
        /// 创建人Id
        /// </summary>
        public string CreateId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
    }
}